// KeyDlg.cpp : implementation file
//

#include "stdafx.h"
#include "DpkViewer.h"
#include "KeyDlg.h"
#include ".\keydlg.h"


// CKeyDlg dialog

IMPLEMENT_DYNAMIC(CKeyDlg, CDialog)
CKeyDlg::CKeyDlg(CWnd* pParent /*=NULL*/)
	: CDialog(CKeyDlg::IDD, pParent)
	, m_strkey(_T(""))
{
}

CKeyDlg::~CKeyDlg()
{
}

void CKeyDlg::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	DDX_Text(pDX, IDC_EDIT1, m_strkey);
}


BEGIN_MESSAGE_MAP(CKeyDlg, CDialog)
END_MESSAGE_MAP()


// CKeyDlg message handlers

void CKeyDlg::OnOK()
{
	UpdateData();
	// TODO: Add your specialized code here and/or call the base class
// 	if (m_strkey.IsEmpty())
// 	{
// 		return ;
// 	}

	CDialog::OnOK();
}
